package micro.web.config;

import feign.auth.BasicAuthRequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author txw
 * @version V1.0
 * @Title: FeignConfig
 * @ProjectName micro-email-server
 * @Description: 描述
 * @since 2018/6/21 1:07
 */
@Configuration
public class FeignConfig {
    @Bean
    public BasicAuthRequestInterceptor basicAuthRequestInterceptor() {
        return new BasicAuthRequestInterceptor("admin", "hldata.2016");
    }
}
